import { NgModule } from '@angular/core';
import { RouterModule, Routes } from '@angular/router';
import { DepartmentComponent } from './pages/department/department.component';
import { DivisionComponent } from './pages//division/division.component';


const routes: Routes = [
    {
        path: 'keys',
        component: DepartmentComponent,

    },
    {
        path: 'add',
        component: DivisionComponent,

    },
];

export const declarationComponents = [
    DepartmentComponent,
    DivisionComponent,

];

export const entryComponents = [
];

@NgModule({
    imports: [
        RouterModule.forChild(routes),
    ],
    exports: [
        RouterModule
    ]
})
export class NoticeRoutingModule { }
